﻿
namespace MySSH.Common.Log
{
    /// <summary>
    /// 日志记录实体
    /// </summary>
    public class LogMsg
    {
        /// <summary>
        /// 操作用户代码
        /// </summary>
        public string OperCode { get; set; }
        /// <summary>
        /// 操作用户名称
        /// </summary>
        public string OperName { get; set; }
        /// <summary>
        /// 操作对象
        ///     一般为类名
        /// </summary>
        public string Operand { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string IP { get; set; }
        /// <summary>
        /// MAC地址
        /// </summary>
        public string MAC { get; set; }
        /// <summary>
        /// 操作系统
        /// </summary>
        public string OSType { get; set; }
        /// <summary>
        /// 浏览器
        /// </summary>
        public string Browser { get; set; }
        /// <summary>
        /// 机器名
        /// </summary>
        public string MachineName { get; set; }
        /// <summary>
        /// 日志描述
        /// </summary>
        public string LogDesc { get; set; }
        /// <summary>
        /// 动作类型
        /// </summary>
        public LogActionType ActionType { get; set; }
        /// <summary>
        /// 会话ID
        /// </summary>
        public string SessionID { get; set; }
    }
    

}
